From 792c719478b73af686d5295a6644c658285f89ec Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 30 Nov 2011 23:49:23 -0500 Subject: [PATCH] Some coding style fixes --- gtk/gtkapplicationwindow.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gtk/gtkapplicationwindow.c b/gtk/gtkapplicationwindow.c index cf7a29a3d6..fefb7d2444 100644 --- a/gtk/gtkapplicationwindow.c +++ b/gtk/gtkapplicationwindow.c @@ -27,6 +27,7 @@ #include "gtkcheckmenuitem.h" #include "gtkmenubar.h" #include "gactionmuxer.h" +#include "gtkintl.h" /** * SECTION:gtkapplicationwindow @@ -431,8 +432,10 @@ gtk_application_window_class_init (GtkApplicationWindowClass *class) object_class->dispose = gtk_application_window_dispose; gtk_application_window_properties[PROP_SHOW_APP_MENU] = - g_param_spec_boolean ("show-app-menu", "show application menu", - "TRUE if the application menu should be included in the menubar at the top of the window", + g_param_spec_boolean ("show-app-menu", + P_("Show application menu"), + P_("TRUE if the application menu should be included " + "in the menubar at the top of the window"), FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE); g_object_class_install_properties (object_class, N_PROPS, gtk_application_window_properties); g_type_class_add_private (class, sizeof (GtkApplicationWindowPrivate)); @@ -865,8 +868,6 @@ items_changed (GMenuModel *model, * This function returns %NULL if @window has no associated * menu model. * - * @menu may be a #GtkMenu or a #GtkMenuBar. - * * Returns: A #GtkMenu that has been populated from the * #GMenuModel that is associated with @window, or %NULL */ -- 2.30.2